﻿namespace Owl.Chat.Host.Dto;

public sealed class ChatMessageDto : EntityDto<long>
{
    /// <summary>
    /// 会话Id
    /// 空=临时会话？
    /// </summary>
    public long? SessionId { get; set; }

    /// <summary>
    /// 请求token
    /// </summary>
    public int PromptTokens { get; set; }

    /// <summary>
    /// 完成token
    /// </summary>
    /// <returns></returns>
    public int CompleteTokens { get; set; }

    /// <summary>
    /// 响应耗时 (ms)
    /// </summary>
    /// <returns></returns>
    public int ResponseTime { get; set; }

    /// <summary>
    /// 分享渠道id
    /// </summary>
    public long? ShareId { get; set; }

    /// <summary>
    /// 渠道id
    /// </summary>
    public long? ChannelId { get; set; }

    /// <summary>
    /// 使用模型id
    /// </summary>
    public string? ModelId { get; set; }
}